<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/images/js/ckeditor/ckeditor.js"></script>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'hotel-article-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'hola_desc'); ?>
		<?php echo $form->textField($model,'hola_desc',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'hola_desc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hola_content'); ?>
		<textarea id="hotel_article[hola_content]" name="hotel_article[hola_content]">
			<?php echo $model->hola_content?>
		</textarea>
		<script type="text/javascript">
			CKEDITOR.replace( 'hotel_article[hola_content]' );
		</script>
		<?php echo $form->error($model,'hola_content'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->